﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MineLaunch.Setting
{
    public class SettingsMain : SettingsBase
    {
        private SettingsMain() { }

        public ModelSettingsMain settingsMain;

        public void Load()
        {
            settingsMain = base.LoadSettings("SettingsMain.dat") as ModelSettingsMain;
            if (settingsMain == null) settingsMain = new ModelSettingsMain();
        }

        public void Save()
        {
            base.SaveSettings("SettingsMain.dat", settingsMain);
        }

        private static SettingsMain instance = new SettingsMain();
        public static SettingsMain GetInstance()
        {
            return instance;
        }
    }
}
